<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改密码</title>
    <link rel="stylesheet" href="${ctxPath}/css/common.css">
    <link rel="stylesheet" href="${ctxPath}/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${ctxPath}/css/customer.css">
</head>
<body class="sign">
<jsp:include page="/WEB-INF/pages/commons/header.jsp"></jsp:include>

<div class="wrapper">

    <div class="form-container">
        <header>修改密码</header>
        <p>${message_password}</p>
        <form action="${ctxPath}/customer/change/password" method="post">
            <div class="form-row">
                <label for="primary">原密码</label>
                <input type="password" name="primary" value="${primary}" id="primary" autocomplete="off">
            </div>
            <div class="form-row">
                <label for="password">新密码</label>
                <input type="password" name="password" id="password">
            </div>
            <div class="form-row">
                <label for="confirm">确认新密码</label>
                <input type="password" name="confirm" id="confirm" >
            </div>
            <div class="form-buttons">
                <button type="submit">修改</button>
            </div>
        </form>
        <hr>
        <p>
            <a href="${ctxPath}/topic/list">返回首页</a>
        </p>
    </div>
</div>

<c:remove var="message" scope="session" />
<c:remove var="primary" scope="session" />
</body>
</html>